<template>
  <div>
    <div class="main_content">
      <!-- <el-input
        style="width:200px;"
        clearable
        v-model="searchText"
        placeholder="请输入查询关键字"
        @keydown.enter.native="doSearch()"
      ></el-input>
      <el-button type="primary" @click="doSearch()" class="added">
        <i class="el-icon-search"></i>
        搜索
      </el-button> -->
      <myTable
        auto='getAllList'
        style='margin-top:15px'
        :height="Height-155"
        min-width='130'
        :myColumn=tableProp
        ahide='index,checkbox,mySplitPage,tooltip,background'
        hide="checkbox"
        slots='操作,250,right'
        select='console'
        hook:created=' myTable.tableData = tableData '
        >
      </myTable>
    </div>
  </div>
</template>
<script>
import myhttp, {
  isEmpty,
  msgError,
  msgSuccess,
  msgWarning
} from "../../utils/myhttp";
import qs from "qs";
import api from "../../utils/api";
export default {
  data() {
    return {
      loading: "",
      tableHeaderStyle: {
        //表头样式
        "background-color": "rgb(242,242,242)"
      },
      theRow: {}, //当前行数据
      theIndex: 0, //当前下标
      searchText: "", //搜索字段
      myTotal: 1, //分页总条数，默认1
      currentPage: 1, //初始化当前页
      nowPage: 1, //当前页
      thePageSize: 15, //每页条数
      tableData: [],
      tableProp: [
        // { label: "反馈模块", prop: "module", html(prop){
        //   return $.class[prop]||'';
        // } },
        { label: "反馈模块", prop: "module" },
        { label: "旁站类别", prop: "mclass" },
        { label: "反馈内容", prop: "feedbackContent"},
        { label: "反馈人", prop: "userName" },
        { label: "反馈时间", prop: "createTime"},
      ],
    };
  },
  components: {},
  methods: {
   
    getAllList: async function(pageNum,pageSize) {
      var res = await $.post('getAllFeedBack',{
        pageNum, //当前页 
        pageSize,//每页显示条数 
      });
      // console.log(arguments);
      $return('__',res);
      res = res.items;
    }
  },
  created() {},
  mounted() {}
};
</script>
<style scoped>
  .tuJian{
    /* margin: 20px 0; */
    border:1px solid #d4d4d4;
    padding:15px 0px 15px 20px;
  }
</style>


